package com.sicent.upms.operate.model;

import java.io.Serializable;

public class ManagerResource implements Serializable {

	public static Integer STATUS_YES=1,STATUS_NO=0;
	
	public static Integer TYPE_FIRST=0,TYPE_SECOND=1;
	
    private static final long serialVersionUID = -1L;

    /** resource_id : **/
    private Integer resourceId;
    /** parent_id : **/
    private Integer parentId;
    /** resource_name : **/
    private String resourceName;
    /** resource_described : **/
    private String resourceDescribed;
    /** resource_url : **/
    private String resourceUrl;
    /** resource_type : **/
    private Integer resourceType;
    /** sort : **/
    private Integer sort;
    /** create_time : **/
    private Integer createTime;
    /** last_update_time : **/
    private Integer lastUpdateTime;
    /** status : 状态 1 位可用 0 位不可用**/
    private Integer status;

    public ManagerResource() {
        
    }

    public ManagerResource(Integer resourceId) {
        this.resourceId = resourceId;
    }

    public Integer getResourceId() {
        return resourceId;
    }

    public ManagerResource setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
        return this;
    }

    public Integer getParentId() {
        return parentId;
    }

    public ManagerResource setParentId(Integer parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getResourceName() {
        return resourceName;
    }

    public ManagerResource setResourceName(String resourceName) {
        this.resourceName = resourceName;
        return this;
    }

    public String getResourceDescribed() {
        return resourceDescribed;
    }

    public ManagerResource setResourceDescribed(String resourceDescribed) {
        this.resourceDescribed = resourceDescribed;
        return this;
    }

    public String getResourceUrl() {
        return resourceUrl;
    }

    public ManagerResource setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
        return this;
    }

    public Integer getResourceType() {
        return resourceType;
    }

    public ManagerResource setResourceType(Integer resourceType) {
        this.resourceType = resourceType;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public ManagerResource setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public ManagerResource setCreateTime(Integer createTime) {
        this.createTime = createTime;
        return this;
    }

    public Integer getLastUpdateTime() {
        return lastUpdateTime;
    }

    public ManagerResource setLastUpdateTime(Integer lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
        return this;
    }

    public Integer getStatus() {
        return status;
    }

    public ManagerResource setStatus(Integer status) {
        this.status = status;
        return this;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", resourceId=").append(resourceId);
        sb.append(", parentId=").append(parentId);
        sb.append(", resourceName=").append(resourceName);
        sb.append(", resourceDescribed=").append(resourceDescribed);
        sb.append(", resourceUrl=").append(resourceUrl);
        sb.append(", resourceType=").append(resourceType);
        sb.append(", sort=").append(sort);
        sb.append(", createTime=").append(createTime);
        sb.append(", lastUpdateTime=").append(lastUpdateTime);
        sb.append(", status=").append(status);
        sb.append("]");
        return sb.toString();
    }
}